const getters = {
  id: state => state.user.id,
  username: state => state.user.username,
  password: state => state.user.password,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  phone: state => state.user.phone,
  email: state => state.user.email,
  roleId: state => state.user.roleId,
  role: state => state.user.role,
  create_time: state => state.user.create_time,
  sex: state => state.user.sex,
  deptId: state => state.user.deptId,
  dept: state => state.user.dept,
  majorId: state => state.user.majorId,
  major: state => state.user.major,
  clazz: state => state.user.clazz,
  teacherId: state => state.user.teacherId,
  teacher: state => state.user.teacher,
  birth: state => state.user.birth,
  nation: state => state.user.nation,
  position: state => state.user.position,
  area: state => state.user.area,
  address: state => state.user.address,
  nickname: state => state.user.nickname,
  grade: state => state.user.grade,

  token: state => state.common.token,
  remember: state => state.common.remember,
  notice: state => state.common.notice,
  comment: state => state.common.comment,
  like: state => state.common.like,
  term: state => state.common.term,
  message: state => state.common.message,
}

export default getters